﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Identity.Data.Models
{
    public class Address
    {
        [Key]
        public int AdrressId { get; set; }
        public string Street { get; set;}
        public string City { get; set; }
        public string State { get; set; }
        public string Zip { get; set; }

        public string UserId { get; set; }
        
        [ForeignKey("UserId")]
        public virtual ApplicationUser User { get; set; }

    }
}
